package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_purchase_requisition
 * 
 * @author ruoyi
 * @date 2022-03-14
 */
public class SysPurchaseRequisition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 设备ID */
    private Long deviceId;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String contractNo;

    /** 合同乙方 */
    @Excel(name = "合同乙方")
    private String contractB;

    /** 金额 */
    @Excel(name = "金额")
    private String amount;

    /** 首付款 */
    @Excel(name = "首付款")
    private String firstMoney;

    /** 首付款日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "首付款日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date firstMoneyTime;

    /** 进度款1 */
    @Excel(name = "进度款1")
    private String progressOne;

    /** 进度款1日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "进度款1日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date progressOneTime;

    /** 进度款2 */
    @Excel(name = "进度款2")
    private String progressTwo;

    /** 进度款2日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "进度款2日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date progressTwoTime;

    /** 尾款 */
    @Excel(name = "尾款")
    private String endMoney;

    /** 尾款日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "尾款日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endMoneyDate;

    /** 供货期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "供货期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date supplyDate;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getContractNo() {
        return contractNo;
    }

    public String getContractB() {
        return contractB;
    }

    public void setContractB(String contractB) {
        this.contractB = contractB;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setContractNo(String contractNo) 
    {
        this.contractNo = contractNo;
    }

    public void setAmount(String amount) 
    {
        this.amount = amount;
    }

    public String getAmount() 
    {
        return amount;
    }
    public void setFirstMoney(String firstMoney) 
    {
        this.firstMoney = firstMoney;
    }

    public String getFirstMoney() 
    {
        return firstMoney;
    }
    public void setFirstMoneyTime(Date firstMoneyTime) 
    {
        this.firstMoneyTime = firstMoneyTime;
    }

    public Date getFirstMoneyTime() 
    {
        return firstMoneyTime;
    }
    public void setProgressOne(String progressOne) 
    {
        this.progressOne = progressOne;
    }

    public String getProgressOne() 
    {
        return progressOne;
    }
    public void setProgressOneTime(Date progressOneTime) 
    {
        this.progressOneTime = progressOneTime;
    }

    public Date getProgressOneTime() 
    {
        return progressOneTime;
    }
    public void setProgressTwo(String progressTwo) 
    {
        this.progressTwo = progressTwo;
    }

    public String getProgressTwo() 
    {
        return progressTwo;
    }
    public void setProgressTwoTime(Date progressTwoTime) 
    {
        this.progressTwoTime = progressTwoTime;
    }

    public Date getProgressTwoTime() 
    {
        return progressTwoTime;
    }
    public void setEndMoney(String endMoney) 
    {
        this.endMoney = endMoney;
    }

    public String getEndMoney() 
    {
        return endMoney;
    }
    public void setEndMoneyDate(Date endMoneyDate) 
    {
        this.endMoneyDate = endMoneyDate;
    }

    public Date getEndMoneyDate() 
    {
        return endMoneyDate;
    }
    public void setSupplyDate(Date supplyDate) 
    {
        this.supplyDate = supplyDate;
    }

    public Date getSupplyDate() 
    {
        return supplyDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("contractNo", getContractNo())
            .append("contract B", getContractB())
            .append("amount", getAmount())
            .append("firstMoney", getFirstMoney())
            .append("firstMoneyTime", getFirstMoneyTime())
            .append("progressOne", getProgressOne())
            .append("progressOneTime", getProgressOneTime())
            .append("progressTwo", getProgressTwo())
            .append("progressTwoTime", getProgressTwoTime())
            .append("endMoney", getEndMoney())
            .append("endMoneyDate", getEndMoneyDate())
            .append("supplyDate", getSupplyDate())
            .toString();
    }
}
